class CreateCertificates < ActiveRecord::Migration
  def change
    create_table :certificates do |t|
      t.string :name
      t.integer :available_months
      t.decimal :initiate_cost, precision: 8, scale: 1, default: 0.0
      t.decimal :recheck_cost, precision: 8, scale: 1, default: 0.0
    end
  end
end
